<template>
  <div>cart组件</div>
</template>
<script>
export default {
  data() {
    return {
      //  index信息
      index: {}
    }
  },
  created () {
    this.getCartList()
  },
  methods: {
    getCartList() {
      this.index = this.$route.query
      console.log(this.index)
    }
  }
}
</script>
<style lang="less" scoped></style>
